package com.springcloud.payment.mapper;

import com.springcloud.commons.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PaymentMapper {

    //@Insert("INSERT INTO PAYMENT VALUE (id,serial)")
    public int create(Payment payment);

    //@Select("SELECT * FROM PAYMENT WHERE id = #{id}")
    public Payment getPaymentById(@Param("id")Long id);

}
